<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		<ul>
			<li>删除节点1</li>
			<li>删除节点2</li>
			<li>删除节点</li>
		</ul>
		<script>
			var ul=document.querySelector('ul');
			ul.removeChild(ul.children[0]);
		</script>
	</body>
</html>
